from django.urls import path
from django.urls import include
from .views import *

app_name = 'outdoor'
urlpatterns = [
    # activity
    path('list/', ActivityListInfoView.as_view(), name='activity_list'),  # get
    path('<int:aid>/', ActivityInfoView.as_view(), name='activity_info'),  # get
    # new activity release
    path('release/', include('app.outdoor.views.restful.activity.activityRelease.urls', namespace='activity_release')),
    # activity type
    path('type/list/', ActivityTypeListInfoView.as_view(), name='activity_type_list'),  # get
    path('type/<int:typeID>/', ActivityTypeActivityInfoView.as_view(), name='activity_type_activity_info'),  # get
    path('type/templates/<typeID>/', ActivityTypeTemplatesInfoView.as_view(), name='activity_type_templates_info'),

]
